package Collection.List;

import org.apache.commons.collections.CollectionUtils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: cyy
 **/
public class subList {
    public static void main(String[] args) {
        List<Map<String, Object>> a=new ArrayList<>();
        Map<String, Object> b=new HashMap<>();
        b.put("cyy","5271");
        a.add(b);
        System.out.println("size:"+new ArrayList<>().size());
        if (CollectionUtils.isNotEmpty(a) && "5271".equals(a.get(0).get("cyy").toString())){
            System.out.println("shitutuya:"+"cyy");
        }
    }
}
